package cn.tedu.myweb.mapper;

import cn.tedu.myweb.model.Notify;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface NotifyMapper extends BaseMapper<Notify> {
    @Select("select * from notify where username = #{username}")
    List<Notify> getNotifies(String username);


}
